bitkeeper revision 1.1159.258.110 (4277584802VQXQuqOAdIXG6EfEBexQ)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 3 May 2005 10:54:00 +0000 (10:54 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 3 May 2005 10:54:00 +0000 (10:54 +0000)
commit0abd7307b7aa8b59b564a2f715574e572b24d6cc
tree64a2d9d0b24bc7badaa85ae82ff626ca6c8f4367
parent121068390b8b1f4e72740cbcd9c02e3508c64d1a
bitkeeper revision 1.1159.258.110 (4277584802VQXQuqOAdIXG6EfEBexQ)

Add a /proc interface for setting rx-buffer allocation policy in
the netfront driver.
e.g., 'echo 256 >/proc/xen/net/eth0/rxbuf_min' will avoid unnecessary
packet drops by always allocating the maximum possible number of
buffers at all times, at the expense of extra memory usage when the
interface is idle.
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6.11-xen-sparse/drivers/xen/netfront/netfront.c